package com.ningkang.auth.domain;

import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @ClassName：LoginParam
 * @Author: LeiHao
 * @Date: 2024/10/17 17:10
 * @Description: 登录参数
 */
@Data
@Validated
public class LoginParam implements Serializable {
    @NotBlank(message = "用户名不能为空!")
    private String username;
    @NotBlank(message = "密码不能为空!")
    private String password;
}
